//
//  NetCallback.swift
//  响应回调
//
//  Created by chen on 2025/5/2.
//

/// 响应回调函数
public typealias NetCallback<T> = (T) async -> Void

public typealias NetCallbackList<T> = ([T]) async -> Void

public typealias NetCallbackStream = (_ data:String) -> Void

public typealias NetCallbackVoid = () async -> Void

public typealias NetCallbackListResult<T: Codable> = (Result<[T]>) async -> Void
